package com.le.tester.config;

import io.etcd.jetcd.Client;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * createTime：2025-04-02 14:55
 * description：etcd config
 */
@Configuration
public class EtcdConfig {

    @Bean("etcdClient")
    public Client etcdClient() {
        return Client.builder().endpoints("http://127.0.0.1:2379").build();

    }
}
